﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Warning.aspx.cs" Inherits="Warning" %>

<!DOCTYPE html> 
<html> 
	<head id="Head1" runat="server"> 
        <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>运维合同预警</title> 
        <link href="Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" type="text/css" />
        <script src="Scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
        <script src="Scripts/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
        <link href="Content/Default.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript">
            $.mobile.ajaxEnabled = false;
        </script>
    </head> 
<body>     
    <!-- start page -->
    <div data-role="page">

	<!-- start header -->
	<div data-role="header" data-theme="c" data-position="inline" data-backbtn="false">
        <a href="desktop.aspx" data-icon="home">桌面</a>
		<h1>运维合同预警</h1>
        <a href="default.aspx" data-icon="forward">退出</a>
	</div>
	<!-- end header -->

	<!-- start content -->
	<div data-role="content">	
        <asp:Literal runat="server" ID="msg"></asp:Literal>         
        <asp:Repeater ID="PayedList" runat="server">
            <HeaderTemplate>
                <ul id="PayedList" data-role="listview" data-inset="true" data-theme="c" data-filter="true" data-filter-placeholder="查询中...">
            </HeaderTemplate>
            <ItemTemplate>
                <li><a href='<%#"Action.aspx?act=pay&cid="+Eval("cid") %>'>
                    <h3>【<%# Eval("Region")%>】- <%# Eval("StationName")%></h3>
                    <p><strong>合同号：<%# Eval("ContractNo")%></strong></p>
                    <p>合同付款日期：<%# Eval("PayDate")%></p>
                    <p class="ui-li-count"><%# Eval("ContractValue")%></p>
                </a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
        <asp:Repeater ID="RenewList" runat="server">
            <HeaderTemplate>
                <ul id="RenewList" data-role="listview" data-inset="true" data-theme="c" data-filter="true" data-filter-placeholder="查询中...">
            </HeaderTemplate>
            <ItemTemplate>
                <li><a href='<%#"Action.aspx?act=renew&cid="+Eval("cid") %>'>
                    <h3>【<%# Eval("Region")%>】- <%# Eval("StationName")%></h3>
                    <p><strong>合同号：<%# Eval("ContractNo")%></strong></p>
                    <p>合同截止日期：<%# Eval("EndDate")%></p>
                    <p class="ui-li-count"><%# Eval("ContractValue")%></p>
                </a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
	</div>
	<!-- end content -->

    <!-- start footer -->
	<div data-role="footer" data-theme="c" data-position="fixed">
		<div data-role="navbar">
            <ul>
                <li><a href="Warning.aspx?Action=Pay" runat="server" id="Pay" class="ui-btn-active ui-state-persist">付款</a></li>
                <li><a href="Warning.aspx?Action=Renew" runat="server" id="Renew">续签</a></li>
            </ul>
        </div>
	</div>
	<!-- end footer -->
	
    </div>
    <!-- end page -->
    
</body>
</html>
